package com.cr.admin.business.topic.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import javax.validation.constraints.NotEmpty;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class TopicAddParam {


    //专题标题
    @NotEmpty(message = "专题标题不能为空")
    @ApiModelProperty(value = "专题标题", required = true)
    String topicTitle;
    //专题内容
    @NotEmpty(message = "专题内容不能为空")
    @ApiModelProperty(value = "专题内容", required = true)
    String content;
    //专题图片
    @ApiModelProperty(value = "专题图片", required = true)
    @NotEmpty(message = "专题图片不能为空")
    String pic;


}
